Status Code in API 1. 200 Ok :-When user hit the api and request has processed successfully on the server. for ex:- Generally in Get API :- While fetching the data from database. 2. 201 Created :- When user hit the api and a new resource is created in database. for ex:- Generally in Post API 3. 204 No content :-When you want to fetch the details or delete the data that doesn't exist in database. 3. 400 Bad Request :- When user sends some invalid data in request body and hit the api. 4. 401 Unauthorized :- When user have not authorised then still it is performing that action. For ex:- When user try to login with invalid details. When user try to delete the other seller products then it throws the 401 status code. 5. 403 Forbidden :- The requested file is not able to view For ex :- when i shared the google sheet and you have not permission then it throws 403 because you don't have the permission to access it. 6. 404 Page Not Found :- When that particular file or Uri is not available in server then it responds the 404. 7. 405 Method Not Allowed :- When user hit the api using other methods then you will get the 405 as status code. For ex:- Get API and hit with POST, PUT, PATCH, DELETE or any other Method. and same for other methods also then you will get 405 Method Not Allowed. 8. 415 Unsupported Media Type :- The media format of the requested data is not supported by the server, so the server is rejecting the request. For ex:- When user have to upload the jpeg, jpg file these file format is accepted by server and after that you will try to upload the mp4 and png format file then it will give you 415. 9. 429 Too Many Requests :- The user has sent too many requests in a given amount of time. For ex:- After filling the valid details and then user click multiples times on create button then in that case it will give you 429. 10. 500 Internal Server Error :-The server has encountered a situation it does not know how to handle.